package tothreedesignmodel.visitor;

/**
 * @author lzhphantom
 * @description
 * @date 创建于 23:51 2020/8/1
 * @modified
 */
public interface Visitor {
    /**
     * visit a
     *
     * @param A A
     * @return void
     * @description
     * @author lzhphantom
     * @date 23:55 2020/8/1
     */
    void visit(ConcreteElementA A);

    /**
     * visit b
     *
     * @param B B
     * @return void
     * @description
     * @author lzhphantom
     * @date 23:55 2020/8/1
     */
    void visit(ConcreteElementB B);
}
